#include"Stack.h"

void test0()
{
	ST st;
	STInit(&st);

	STPush(&st, 1);
	STPush(&st, 2);
	STPush(&st, 3);
	STPush(&st, 4);

	//STPop(&st);
	//STPop(&st);
	//STPop(&st);
	//STPop(&st);

	printf("%d\n", STSize(&st));
	while (!STEmpty(&st))
	{
		printf("%d ",STTop(&st));
		STPop(&st);
	}
	printf("%d\n", STSize(&st));
}
int main()
{
	test0();
	return 0;
}